

/////////////////////////////////////////////
//  ImageToDataTransformer class
//  NSValueTransformer is an abstract class
//  that is used by the Cocoa Bindings to
//  transform values from one representation 
//  to another. The app creats a subclass of it.  
//  Object->NSValueTransformer
/////////////////////////////////////////////
@interface ImageToDataTransformer : NSValueTransformer {
}

/**
 * Override super class NSValueTransformer methods:
 * class methods:
 * instance methods:
 */
@end



/////////////////////////////////////////////
//  Chapter class: object->NSManagedObject
/////////////////////////////////////////////
@interface Chapter : NSManagedObject {
}

/**
 * instance variables
 */
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSManagedObject *image;
@property (nonatomic, retain) NSString *overview;
@property (nonatomic, retain) UIImage *thumbnailImage;
@property (nonatomic, retain) NSString *instructions;
@property (nonatomic, retain) NSSet *ingredients;
@property (nonatomic, retain) NSManagedObject *type;
@property (nonatomic, retain) NSString *prepTime;

@end



/////////////////////////////////////////////
//  Chapter category: CoreDataGeneratedAccessors
/////////////////////////////////////////////
@interface Chapter(CoreDataGeneratedAccessors)
-(void) addIngredientsObject:(NSManagedObject *)value;
-(void) removeIngredientsObject:(NSManagedObject *)value;
-(void) addIngredients:(NSSet *)value;
-(void) removeIngredients:(NSSet *)value;
@end

